package com.cloud.basic.feign.say;

import javax.jws.WebService;
 
@WebService(serviceName = "TestService",
        targetNamespace = "http://server.dandelion.com",
        endpointInterface = "com.cloud.basic.feign.say.TestService")
public class TestServiceImpl implements TestService{
 
    @Override
    public String execute(String action, String msg) {
        System.out.println(String.format("action: %s", action));
        System.out.println(String.format("msg: %s", msg));
        return "<root><code>1</code><msg>同步成功</msg></root>";
    }
}